<?php


namespace app\admin\server\banner;


use app\admin\model\BannerModel;
use app\admin\ServerBase;
use app\admin\validate\BannerVal;

class IndexServer extends ServerBase
{
    protected $model;
    protected $request;
    /**
     * @var mixed
     */
    protected $param;
    /**
     * @var mixed
     */
    protected $validate;

    function __construct(\think\Request $request)
    {
        //$this->checkAuth();
        $this->request = $request;
        $this->param = $request->param();
        $this->model = new BannerModel();
        $this->validate = new BannerVal();
    }
}